﻿using AiChiTu.TraceabilitySystem.ErrorCode;
using AiChiTu.TraceabilitySystem.Read.API.Dtos.Logins;
using MediatR;

namespace AiChiTu.TraceabilitySystem.Read.API.Applications.Commands.Logins
{
	/// <summary>
	/// 登录请求命令
	/// </summary>
	public class LoginCommand : IRequest<APIResult<LoginDTO>>
	{
		/// <summary>
		/// 用户名
		/// </summary>
		public string? UserInfoName { get; set; }
		/// <summary>
		/// 密码
		/// </summary>
		public string? UserInfoPassword { get; set; }
	}
}
